capture log close master
log using mml-master, name(master) replace text

//  program:    mml-master.do
//  task:		replication of Hall medical marijuana study
//  project:    medical marijuana laws
//  author:     sam harper \ 02dec2011

/* 
This program replicates the results of Wall and colleagues study of the effect
of medical marijuana laws on adolescent marijuana use (Ann Epid 2011;21:714-6) 
and estimates the causal effect of marijuana laws on marijuana use for other 
age groups. The raw state-level outcome data were downloaded from
http://www.oas.samhsa.gov/states.cfm. 

NB: the program "mml-data.do" utilizes the user-written Stata command
-renvars-, which may be downloaded by typing "net install dm88.pkg" or 
-findit renvars- in the Stata command window

Additionally, the program "mml-analysis.do" utilizes the user-written Stata command 
-outreg2-, which may be downloaded from 
http://ideas.repec.org/c/boc/bocode/s456416.html
or by typing -findit outreg2 in the Stata command window
*/

do mml-data.do
do mml-analysis.do

log close master
exit
